The basic concept of signal
Each signal has a number and a macro definition name that can be signal.h found in.
Use the kill -l command to view the list of signals defined in the system: 1-31 is a normal signal; 34-64 is a live signal.
All
Signal Concept
The signal is software interruption. It can be used as a mechanism for inter-process communication. More importantly, the signal always interrupts the normal operation of a process and is more used to handle abnormal situations. The
We describe the names of some standard signals and the events they represent. Each signal name is a macro that represents a positive integer, but you do not attempt to speculate on the exact value represented by the macro, but instead use the name
1. Function Description:
Kill and raise are used to send signals:
Kill sends a signal to a process or process group, not only to abort the process, but to send other signals to the process;
The raise sends the signal to the (process) itself.
Linux kill usage, killall, pkill, and xkill
Linux kill usage, killall, pkill, and xkill
1. Kill, killall, pkill, and xkill tools for terminating Processes
Terminate a process or terminate a running program, usually through kill, killall, pkill,
First, the basic concept1. InterruptionAborts, pauses the currently executing process, and performs other tasks instead.Hard interrupts: interrupts from hardware devicesSoft interrupts: interrupts from other programs2. SignalA signal is a soft
One linux command every day (42): link to the kill Command: One linux command every day (1): ls command http://www.2cto.com/os/201210/163049.html ; One linux command every day (2): cd command http://www.2cto.com/os/201210/163050.html A linux command
Article Title: send signals to processes: kill, killall, and top. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open
One linux Command every day (42): kill command link: One linux Command every day (1): ls command http://www.bkjia.com/ OS /210210/163049.html#linuxlinuxcommand every day (2): cd command serial (3 ): pwd command Export (4): mkdir command
We will introduce some standard signal names and the events they represent. Each signal name is a macro representing a positive integer, but you should not try to speculate on the specific value represented by the macro, but directly use the name.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.